package com.lyf.service;

import com.lyf.entity.Perms;
import com.lyf.entity.Role;
import com.lyf.entity.User;

import java.util.List;

public interface UserService {
    //注册用户方法
    void register(User user);

    User findByUsername(String username);

    User findRolesByUsername(String username);

    List<Perms> findPermsByRoleId(String id);
}
